@charset "utf-8";

/* common */
body{
    margin: 0;
    margin-bottom: 100%;
    font-size: 14px;
    line-height: 2em;
    color: #333;
    font-family: "microsoft yahei";
}
.container{
    position: relative;
    width: 1100px;
    margin: auto;
}
.page-title{
    margin-top: 0;
    margin-bottom: 0;
    background-color: #f7f7f7;
    font-size: 40px;
    line-height: 1.5em;
}

/* 接受图片输入的表单 */
.img-input-form{
    width: 60%;
    margin: 20px auto;
}
.select-img {
    display: inline-block;
    width: 100%;
    height: 100px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 100px;
    border-radius: 5px;
    border: 1px solid #aaa;
    background-color: transparent;
}
.select-img:hover{
    background-color: #1081de;
    border-color: #1081de;
    color: #fff;
}
.select-img input[type='file']{ display: none; }

/* 图片列表 */
.img-list{
    background-color: #f6f6f6;
}
.file-list{
    min-height: 35px;
    padding-left: 0px;
    margin-top: 0;
    margin-bottom: 0;
    list-style-type: none; 
    line-height: 35px;
}
.file-li { 
    position: relative;
    padding-left: 56px;
    white-space: nowrap;
    word-spacing: -5px;
}
.file-li:first-child{
    font-size: 16px;
}
.file-li + .file-li{
    border-top: 1px dashed #aaa;
}
.file-li>span{
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    word-spacing: normal;
}
.file-li .btn-close{
    position: absolute;
    font-size: 20px;
    left: 25px;
    cursor: pointer;
}
.file-li .btn-close:hover{
    color: #f90;
}
.fileimg{
    width: 80px;
    vertical-align: middle;
    text-align: center;
}
.thumbnail{
    max-width: 35px;
    max-height: 35px;
    vertical-align: middle;
}
.filename{
    width: 300px;
}
.ctnsize,
.filesize{
    width: 100px;
}
.imgpos {
    width: 240px;
}

/* 图片容器 */
.img-ctn {
    margin: 20px 0;
}
.img-wrap{
    position: relative;
    width: 10px;
    height: 10px;
    line-height: 0;
}
.btns-wrap-form input[type="number"]{
    width: 100px;
    line-height: 1.6em;
    padding-left: 5px;
}
.btns-wrap-form input{
    margin-right: 10px;
    vertical-align: middle;
}

/* 图片容器 和 合成的图片 */
.img-wrap,
[name="combine-img"]{
    margin: 10px 0;
    border-radius: 2px;
    border: 1px solid #aaa;
    resize: both;
    overflow: hidden;
}

/* 图片容器中的图片 */
.img-wrap .img-ctn {
    float: left;
    min-width: 20px;
    min-height: 20px;
    box-sizing: border-box;
    margin: 0 10px 10px 0;
}
.img-wrap img{
    vertical-align: top;
}

/* 生成合成图片按钮 */
.create-img{
    background-color: #f7f7f7;
}
.create-img input {
    vertical-align: middle;
}
.create-img select {
    width: 100px;
    height: 27px;
}
#create-img{
    width: 140px;
    margin-right: 50px;
    line-height: 60px;
    font-size: 18px;
    background-color: #1081de;
    border-width: 0;
    font-weight: bold;
    color: #fff;
}
.img-quality {
    display: none;
    margin: 0 50px;
}
/* 画布隐藏 */
#canvas-img{
    display: none;
}
